<div ng-include="'tpl/access/sign_header.html'"></div>
<div class="bg-white panel-body" >
    <div class="container" ng-controller="mealCtrl">
        <!-- 进度条头部 -->
        <div class="text-center m-b-sm">
            <div class="inline">
                <div class="app-process-container app-process-active">
                    <div class="app-process-text">1:基本信息</div>
                    <div class="app-process-next-tri"></div>
                </div>
                <div class="app-process-container app-process-active">
                    <div class="app-process-prev-tri"></div>
                    <div class="app-process-text">2:入驻商户类型</div>
                    <div class="app-process-next-tri"></div>
                </div>
                <div class="app-process-container app-process-active">
                    <div class="app-process-prev-tri"></div>
                    <div class="app-process-text">3:选择套餐</div>
                    <div class="app-process-next-tri"></div>
                </div>
            </div>
        </div>


        <!--套餐-->
        <div class="inline w-full padder-lg panel-body text-center">
            <div>
                <div class="inline">
                    <div class="pull-left b-a w-lg m-sm r-c pos-rlt" ng-class="{true:'r-c-ative'}[index==$index]" ng-repeat="meal in setMeals">
                        <div class="panel-body text-center b-b">
                            <div class="bg-logo-success"></div>
                            <span class="block font-bold padder-v">{{meal.name}}</span>
                            <div class="m-b-md">
                                <span class="block font-bold"><p class="inline h2 m-n block text-success font-bold">￥{{meal.money|number:2}}</p> RMB</span>
                            </div>
                            <div class="pos-rlt">
                                <div class="line line-dashed b-b line-lg b-light"></div>
                                <div class="tri-bar-left"></div>
                                <div class="tri-bar-right"></div>
                            </div>
                            <div class="padder-md">
                                <div>
                                    <button class="btn btn-success" ng-click="addSetMeal(meal.id,$index)">选择套餐</button>
                                </div>
                            </div>
                        </div>
                        <div class="panel-body text-center">
                            <div class="heicon">
                                <div>
                                    <div class="inline">
                                        <div class="h5 text-left">
                                            <div class="text-muted h6 block text-center m-b-sm bar-conafter-active bar-conbefore-active"><p class="inline padder-md">套餐福利</p></div>
                                            <div ng-bind-html="meal.content | ntobr |trustHtml" class="l-h h6 padder-md padder-v fa-border"></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="rc-tri-bar l-h"><i class="fa fa-check text-white"></i></div>
                    </div>
                    <div class="clearfix"></div>
                </div>
                <div>
                    <circle-loading ng-if="loading"></circle-loading>
                </div>
                <div class="text-center">
                    <button class="btn btn-success" ng-click="submitSetMeal()" ng-disabled="!setMealId">提交入驻申请</button>
                </div>
            </div>
        </div>

    </div>
</div>
<div ng-include="'tpl/access/sign_footer.html'"></div>